// main.js
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue' // 导入 App 组件
import router from './router/index.js'

// 创建 Vue 应用并挂载 App 组件
const app = createApp(App)
app.use(ElementPlus)
app.use(router)
// 将页面渲染至id为app
app.mount('#app')